home *** CD-ROM | disk | FTP | other *** search
-
-
- SetAslDim
-
- Copyright © 1992 Sebastiano Vigna
-
- SetAslDim is a very small and simple 2.04-only utility which lets you set
- the position and dimensions that the ASL file, font and screen mode
- requesters will assume as default. It obtains this result by
- SetFunction()ing the AllocAslRequest() call of the asl.library: the tag list
- passed by the application is cloned, and for each parameter specified on the
- command line of SetAslDim which is not already present in the tag list, a
- new tag is inserted which sets the desired parameter. When you don't want to
- use SetAslDim any longer, you can stop it by sending it a break (C, D, E or
- F). You can use the CLI or a process management tool in order to do this.
- Please DON'T stop SetAslDim while a file requester is open (or the process
- owning it will execute free memory).
-
- SetAslDim can be used only from CLI. For instance, in your User-Startup you
- can insert
-
- Run >NIL: <NIL: SetAslDim Width 512
-
- The parameters
-
- LeftEdge/K/N,TopEdge/K/N,Width/K/N,Height/K/N,Override/S
-
- are rather obvious: you can specify any of these. The last switch, Override,
- causes the dimensions you suggest being used even if the application is
- specifying its own ones. SetAslDim's template will be printed if you specify
- the standard '?' argument.
-
- Note that SetAslDim is neither patching AllocFileRequest(), which is now
- obsolete (and seems to be passing through AllocAslRequest() anyway), nor
- patching AslRequest(). Thus, an application that specifies dimension tags at
- each file requester call won't be patched. Since this is either a bad
- programming practice, or a firm expression that the dimension shouldn't be
- changed (even by the user), I don't think is a good idea to change it.
-
- SetAslDim is Copyright © 1992 Sebastiano Vigna and it's freely distributable
- as long as all of its files are included in their original form without
- additions, deletions, or modifications of any kind, and only a nominal fee
- is charged for its distribution. This software is provided "AS IS" without
- warranty of any kind, either expressed or implied. By using SetAslDim, you
- agree to accept the entire risk as to the quality and performance of the
- program.
-
- Comments, complaints, desiderata are welcome.
-
- Sebastiano Vigna
- Via California 22
- I-20144 Milano MI
-
- BIX: svigna
- INTERNET: vigna@imiucca.csi.unimi.it
- vigna@ghost.sm.dsi.unimi.it
- UUCP:cbmehq!cbmita!sebamiga!seba@cbmvax.cbm.commodore.com
- ...{uunet|pyramid|rutgers}!cbmvax!cbmehq!cbmita!sebamiga!seba
- FIDO: 2:332/607.28
-